import request from '@/utils/request'
/**
 *
 * 前台用户界面相关
 *
 */
// 获取大屏状态
export function getScreenInfo(params) {
  return request({
    url: '/api/screen/info',
    method: 'post',
    data: params
  })
}

// 获取大屏状态
export function screeLogin(params) {
  return request({
    url: '/api/screen/login',
    method: 'post',
    data: params
  })
}

// 获取省list
export function getProvinceList(params) {
  return request({
    url: '/api/province/list',
    method: 'get',
    params
  })
}

// 市和区list
export function getCityList(params) {
  return request({
    url: '/api/city/list',
    method: 'post',
    data: params
  })
}

// 获取行业类别
export function getIndustryCategoryList(params) {
  return request({
    url: '/api/industry/category',
    method: 'get',
    params
  })
}

// 获取行业分类
export function getCategoryList(params) {
  return request({
    url: '/api/screen/getCategory',
    method: 'get',
    params
  })
}

// 获取归口级别
export function getAttributeLevel(params) {
  return request({
    url: '/api/attribute/level',
    method: 'get',
    params
  })
}

// 获取归口类别
export function getAttributeCategory(params) {
  return request({
    url: '/api/attribute/category',
    method: 'get',
    params
  })
}

// 获取部门
export function getAttribute(params) {
  return request({
    url: '/api/screen/getAttribute',
    method: 'post',
    data: params
  })
}

// 获取部门
export function getGetPolicy(params) {
  return request({
    url: '/api/screen/getPolicy',
    method: 'post',
    data: params
  })
}

// 统计数据
export function getStandardCategory(params) {
  return request({
    url: '/api/screen/getStandardCategory',
    method: 'post',
    data: params
  })
}